namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class mbb_bd_mrl
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [Required]
        [StringLength(50)]
        public string CODE { get; set; }

        [StringLength(200)]
        public string NAME { get; set; }

        [StringLength(100)]
        public string FOREIGN_NAME { get; set; }

        [StringLength(100)]
        public string EXTERNAL_CODE { get; set; }

        [StringLength(500)]
        public string SPECIFICATION { get; set; }

        [StringLength(240)]
        public string MODEL { get; set; }

        [StringLength(50)]
        public string RAW_MRL { get; set; }

        [StringLength(50)]
        public string BREED { get; set; }

        public int? CHK_BATCH { get; set; }

        public int? CONTROL_CODE { get; set; }

        [StringLength(50)]
        public string PACK_MANNER { get; set; }

        [StringLength(510)]
        public string PACK_SPECIFICATION { get; set; }

        [StringLength(50)]
        public string DRAWING { get; set; }

        [StringLength(128)]
        public string DRAWING_VER { get; set; }

        [StringLength(50)]
        public string MRL_CLASS_GID { get; set; }

        public int? MRL_TYPE { get; set; }

        [StringLength(50)]
        public string PRI_MEASURE_GID { get; set; }

        [StringLength(50)]
        public string AUX_MEASURE_GID { get; set; }

        public float? CONVERT_RATE { get; set; }

        public float? V_LENGTH { get; set; }

        public float? V_WIDTH { get; set; }

        public float? V_HEIGHT { get; set; }

        public float? VOLUME { get; set; }

        public float? NET_WEIGHT { get; set; }

        public float? GROSS_WEIGHT { get; set; }

        [StringLength(128)]
        public string MRP_CONTROLLER { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }

        [StringLength(50)]
        public string WORK_CELL_GID { get; set; }

        public int? IS_CRITICAL { get; set; }

        public int? IF_SUIT { get; set; }

        public int IS_QUALITY_CHK { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        public int? CHECK_TYPE { get; set; }

        public int? IS_RUBBER { get; set; }

        public int? MRL_ATTR { get; set; }

        public int? MRL_SERIAL { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MARK_TIME { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime CREATE_DATE { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MODIFY_DATE { get; set; }

        public int IS_ACTIVE { get; set; }

        public int IS_DELETE { get; set; }

        [StringLength(32)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }
    }
}
